import request from "../../api/index.js"
const state = {
	// test : 1,
	indexData:{}
}
const mutations = {
	changeIndexDataMutations(state,value){
		state.indexData = value 
	}
}
const actions = {
	async getIndexDataActions({commit}){
		const res = await request("/getIndexData")
		commit('changeIndexDataMutations',res)
	}
}
const getters ={ 
	
}

export default {
	namespaced :true,
	state,	
	mutations,
	actions,
	getters
}